package com.bigzero.workflow.modules.process.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bigzero.workflow.modules.process.entity.ListenerEntity;
import com.bigzero.workflow.modules.process.query.ListenerQuery;
import com.bigzero.workflow.modules.process.vo.ListenerVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 执行监听器
 *
 * @author fanxinxiong
 * @email 896934834@qq.com
 * @date 2025-02-14 22:18:27
 */
@Mapper
public interface ListenerDao extends BaseMapper<ListenerEntity>{

    /**
     * 执行监听器分页列表
     *
     * @param query 分页参数
     * @return 列表
     */
    List<ListenerVo> queryPage(ListenerQuery query);
}
